//
//  OrderMenuCell.h
//  BaseProject
//
//  Created by 王洋 on 2020/7/30.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommonMenuModel.h"
#import "SubmitSerOrderModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, OrderMenuCellActionType) {
    //
    OrderMenuCellActionType_sel,
    //
    OrderMenuCellActionType_add,
    //
    OrderMenuCellActionType_cut

};

@interface OrderMenuCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UIView *selectMenuControl;

@property (weak, nonatomic) IBOutlet UIImageView *mainImageView;

@property (weak, nonatomic) IBOutlet UILabel *mainTitleLab;

@property (weak, nonatomic) IBOutlet UILabel *subTitleLab;

@property (weak, nonatomic) IBOutlet UILabel *priceLab;

@property (weak, nonatomic) IBOutlet UITextField *countTF;



@property (nonatomic, copy) void(^OrderMenuCellBlock )(OrderMenuCellActionType type);

- (void)fillCellWithModel:(CommonMenuModel *)model AndSubmitModel:(SubmitSerOrderModel *)submitModel;

@end

NS_ASSUME_NONNULL_END
